package com.admin.controller;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.admin.service.AdminOrderService;
import com.bean.AdminOrder;
@Controller
public class AdminOrderController {
  @Autowired
  private AdminOrderService petOrderService;
  @RequestMapping("/deletepetOrder")
  public String deletepetOrder(AdminOrder petOrder,HttpServletRequest req) {
	   return petOrderService.deletepetOrder(petOrder,req);
  }
  @RequestMapping("/updatepetOrder")
  public String updatepetOrder() {
	   return petOrderService.updatepetOrder();
  }
  @RequestMapping("/selectpetOrder")
  public String selectpetOrder(HttpServletRequest req) {
	   return petOrderService.selectpetOrder(req);
  }
  @RequestMapping("/selectpetOrder1")
  public String selectLishiOrder(HttpServletRequest req) {
	   return petOrderService.selectLishiOrder(req);
  }
}
